import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author chenlanjiang
 * @date 2021/5/11
 */
public class Demo {
    public static void main(String[] args) {
        Logger logger = LogManager.getLogger(Demo.class);
        logger.info("输出信息");
        logger.debug("debug级别输出");
        logger.error("错误级别日志输出");
        for (int i = 0; i < 100; i++) {
            System.out.println("代码修改");
        }
    }
}
